<?php
namespace app\admin\validate;

use think\Validate;

class Api extends Validate
{
    protected $rule = [
        'version' => 'require',
        'api_url' => 'require'
    ];

    protected $message = [
        'version.require' => '请选择API版本',
        'api_url.require' => '请输入API地址'
    ];
}